import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false
import 'babel-polyfill'

import plugins from './plugins'
Vue.use(plugins)

import ElementUi from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css'
import '@ast/css/app.less'

import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'

import i18n from './lang/i18n'

import * as filters from './util/filters'
Object.keys(filters).forEach(key => {
	Vue.filter(key, filters[key])
})

Vue.use(ElementUi);


new Vue({
  	router,
	store,
	i18n,
  	render: h => h(App)
}).$mount('#app')
